package net.dodoman.point;

public class RectangleMain {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Rectangle rec1 = new Rectangle();
		Rectangle rec2 = new Rectangle();
		rec1.setHeight(1);
		rec2 = rec1;
		System.out.println(rec2.height);
		rec2.setHeight(2);
		System.out.println(rec1.height);
		rec1.setHeight(3);
		System.out.println(rec2.height);
	}

}
